# $Id: PKGBUILD 65489 2012-02-21 06:06:56Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Zhukov Pavel <gelios@gmail.com>

pkgname=synce-librapi
pkgver=0.15.2
pkgrel=3
pkgdesc="provide a means of communication with a Windows CE device - libraries and tools for making remote calls to pocket pc"
arch=('i686' 'x86_64')
url="http://synce.sourceforge.net/"
license=('GPL')
depends=('synce-libsynce')
makedepends=('pyrex')
source=(http://downloads.sourceforge.net/sourceforge/synce/librapi2-$pkgver.tar.gz)
md5sums=('0a15bc22ee02794ca4714799611b4746')

build() {
  cd $srcdir/librapi2-$pkgver
  export PYTHON=/usr/bin/python2
  LDFLAGS=-lsynce ./configure --prefix=/usr --enable-udev-support --disable-hal-support
  make
  make DESTDIR=$pkgdir install
}
